
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Direction complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Direction">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="LatLong" type="{http://s.mappoint.net/mappoint-30/}LatLong" minOccurs="0"/>
 *         &lt;element name="DirectionType" type="{http://s.mappoint.net/mappoint-30/}DirectionType"/>
 *         &lt;element name="Action" type="{http://s.mappoint.net/mappoint-30/}DirectionAction"/>
 *         &lt;element name="BearingOutOfTurn" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *         &lt;element name="BearingIntoTurn" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *         &lt;element name="Duration" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="Distance" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="Towards" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Instruction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="FormattedInstruction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="View" type="{http://s.mappoint.net/mappoint-30/}MapViewRepresentations" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Direction", propOrder = {
    "latLong",
    "directionType",
    "action",
    "bearingOutOfTurn",
    "bearingIntoTurn",
    "duration",
    "distance",
    "towards",
    "instruction",
    "formattedInstruction",
    "id",
    "view"
})
public class Direction {

    @XmlElement(name = "LatLong")
    protected LatLong latLong;
    @XmlElement(name = "DirectionType", required = true)
    protected DirectionType directionType;
    @XmlElement(name = "Action", required = true)
    protected DirectionAction action;
    @XmlElement(name = "BearingOutOfTurn")
    protected float bearingOutOfTurn;
    @XmlElement(name = "BearingIntoTurn")
    protected float bearingIntoTurn;
    @XmlElement(name = "Duration")
    protected long duration;
    @XmlElement(name = "Distance")
    protected double distance;
    @XmlElement(name = "Towards")
    protected String towards;
    @XmlElement(name = "Instruction")
    protected String instruction;
    @XmlElement(name = "FormattedInstruction")
    protected String formattedInstruction;
    @XmlElement(name = "ID")
    protected int id;
    @XmlElement(name = "View")
    protected MapViewRepresentations view;

    /**
     * Gets the value of the latLong property.
     * 
     * @return
     *     possible object is
     *     {@link LatLong }
     *     
     */
    public LatLong getLatLong() {
        return latLong;
    }

    /**
     * Sets the value of the latLong property.
     * 
     * @param value
     *     allowed object is
     *     {@link LatLong }
     *     
     */
    public void setLatLong(LatLong value) {
        this.latLong = value;
    }

    /**
     * Gets the value of the directionType property.
     * 
     * @return
     *     possible object is
     *     {@link DirectionType }
     *     
     */
    public DirectionType getDirectionType() {
        return directionType;
    }

    /**
     * Sets the value of the directionType property.
     * 
     * @param value
     *     allowed object is
     *     {@link DirectionType }
     *     
     */
    public void setDirectionType(DirectionType value) {
        this.directionType = value;
    }

    /**
     * Gets the value of the action property.
     * 
     * @return
     *     possible object is
     *     {@link DirectionAction }
     *     
     */
    public DirectionAction getAction() {
        return action;
    }

    /**
     * Sets the value of the action property.
     * 
     * @param value
     *     allowed object is
     *     {@link DirectionAction }
     *     
     */
    public void setAction(DirectionAction value) {
        this.action = value;
    }

    /**
     * Gets the value of the bearingOutOfTurn property.
     * 
     */
    public float getBearingOutOfTurn() {
        return bearingOutOfTurn;
    }

    /**
     * Sets the value of the bearingOutOfTurn property.
     * 
     */
    public void setBearingOutOfTurn(float value) {
        this.bearingOutOfTurn = value;
    }

    /**
     * Gets the value of the bearingIntoTurn property.
     * 
     */
    public float getBearingIntoTurn() {
        return bearingIntoTurn;
    }

    /**
     * Sets the value of the bearingIntoTurn property.
     * 
     */
    public void setBearingIntoTurn(float value) {
        this.bearingIntoTurn = value;
    }

    /**
     * Gets the value of the duration property.
     * 
     */
    public long getDuration() {
        return duration;
    }

    /**
     * Sets the value of the duration property.
     * 
     */
    public void setDuration(long value) {
        this.duration = value;
    }

    /**
     * Gets the value of the distance property.
     * 
     */
    public double getDistance() {
        return distance;
    }

    /**
     * Sets the value of the distance property.
     * 
     */
    public void setDistance(double value) {
        this.distance = value;
    }

    /**
     * Gets the value of the towards property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTowards() {
        return towards;
    }

    /**
     * Sets the value of the towards property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTowards(String value) {
        this.towards = value;
    }

    /**
     * Gets the value of the instruction property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getInstruction() {
        return instruction;
    }

    /**
     * Sets the value of the instruction property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setInstruction(String value) {
        this.instruction = value;
    }

    /**
     * Gets the value of the formattedInstruction property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFormattedInstruction() {
        return formattedInstruction;
    }

    /**
     * Sets the value of the formattedInstruction property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFormattedInstruction(String value) {
        this.formattedInstruction = value;
    }

    /**
     * Gets the value of the id property.
     * 
     */
    public int getID() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     */
    public void setID(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the view property.
     * 
     * @return
     *     possible object is
     *     {@link MapViewRepresentations }
     *     
     */
    public MapViewRepresentations getView() {
        return view;
    }

    /**
     * Sets the value of the view property.
     * 
     * @param value
     *     allowed object is
     *     {@link MapViewRepresentations }
     *     
     */
    public void setView(MapViewRepresentations value) {
        this.view = value;
    }

}
